import request from '@/utils/request'

// 新增导出
export const submitApprove = (params) => {
    return request({
        url: '/export/submitApprove',
        method: 'post',
        data: params
    })
}

// 导出列表
export const approveList = (params) => {
    return request({
        url: '/export/queryApproveList',
        method: 'get',
        params
    })
}

// 提交审核
export const approveSubmit = (params) => {
    return request({
        url: '/export/approveExport',
        method: 'post',
        data: params
    })
}

// 退回
export const approveBack = (params) => {
    return request({
        url: '/export/cancelExport',
        method: 'get',
        params
    })
}

// 驳回原因
export const approveReason = (params) => {
    return request({
        url: '/export/approveReason',
        method: 'post',
        data: params
    })
}